How to monitor website performance with services such as Google AnalyticsÖ

Best Practices > Step 1 - General Settings > Working with Google >

How to monitor website performance with services such as Google AnalyticsÖ

Previous pageReturn to chapter overviewNext page

Many website statistics tools are available on the Internet, and one of the most popular is Google AnalyticsÖ. This free tool provides numerous reports for monitoring and analyzing visits to your website. Google AnalyticsÖ can be used for simple analysis such as counting the number of visits, through to more complex work such as judging the efficiency of your advertizing campaigns running on the Google AdsenseÖ program.

To make use of Google AnalyticsÖ, you need to tell the search engine which website is to be analyzed, and which pages are to be tracked. For this, you will need to add a special tracking code to the website pages.

This is what you have to do:

§Open an account with GoogleÖ.

§Go to the Google AnalyticsÖ home page and log in.

§In the Analytics Settings page, click on Add website profile to enter the URL of the website to be analyzed.

§When you have created the profile, go to the Overview page and click on the Edit button in the Actions column for the website you want analyzed.

§In the Profile Settings page, the "Unknown tracking" status will be shown. Click on Status check  to display the code you will need to use to track your pages.

§Copy the tracking code provided by GoogleÖ and paste it into the Custom Code field in the General Settings | Expert window of WebSite X5, specifying that it must be added before the <head> section is closed.

The tracking code provided by GoogleÖ looks like this:

<script type="text/javascript">

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

</script>

<script type="text/javascript">

try {

var pageTracker = _gat._getTracker("UA-110367-1");

pageTracker._trackPageview();

} catch(err) {}</script>